from flask import Blueprint, render_template, session

index2 = Blueprint('index2', __name__)


@index2.route('/index-new')
def my_index():
    session['username'] = '大周老师'
    article = {
        'title': '论python的学习难度',
        'count': 2000
    }
    return render_template('index2.html', article=article)
